<div class="layui-container fly-marginTop fly-user-main">
  {include file="common/menu" /}


  <div class="fly-panel fly-panel-user" pad20>
    <!--
    <div class="fly-msg" style="margin-top: 15px;">
      您的邮箱尚未验证，这比较影响您的帐号安全，<a href="activate.html">立即去激活？</a>
    </div>
    -->
    <div class="layui-tab layui-tab-brief" lay-filter="user">
      <ul class="layui-tab-title" id="LAY_mine">
        <li data-type="mine-jie" lay-id="index" class="{$postStatus == 0 ? 'layui-this' : '' }">
          我发的帖（<span>89</span>）
        </li>
        <li data-type="collection" data-url="/collection/find/" lay-id="collection"
          class="{$postStatus == 1 ? 'layui-this' : '' }">
          我收藏的帖（<span>16</span>）
        </li>
      </ul>
      <div class="layui-tab-content" style="padding: 20px 0;">
        <div class="layui-tab-item layui-show">
          <ul class="mine-view jie-row">
            {foreach $postList as $v}
            <li>
              <a class="jie-title" href="../jie/detail.html" target="_blank">{$v.title}</a>
              <i>{$v.createtime}</i>
              <a class="mine-edit" href="/jie/edit/8116">编辑</a>
              <em>{$v.visit}阅/{$v.comment}答</em>
            </li>
            {/foreach}
          </ul>
          <div id="LAY_page"></div>
        </div>
        <div class="layui-tab-item">
          <ul class="mine-view jie-row">
            {foreach $collectList as $v}
            <li>
              <a class="jie-title" href="../jie/detail.html" target="_blank">{$v.tag}</a>
              <i>收藏于23小时前</i>
            </li>
            {/foreach}
          </ul>
          <div id="LAY_page1"></div>
        </div>
      </div>
    </div>
  </div>
</div>

<div class="fly-footer">
  <p><a href="http://fly.layui.com/" target="_blank">Fly社区</a> 2017 &copy; <a href="http://www.layui.com/"
      target="_blank">layui.com 出品</a></p>
  <p>
    <a href="http://fly.layui.com/jie/3147/" target="_blank">付费计划</a>
    <a href="http://www.layui.com/template/fly/" target="_blank">获取Fly社区模版</a>
    <a href="http://fly.layui.com/jie/2461/" target="_blank">微信公众号</a>
  </p>
</div>

<script src="../../res/layui/layui.js"></script>
<script>
  layui.cache.page = 'user';
  layui.cache.user = {
    username: '游客'
    , uid: -1
    , avatar: '../../res/images/avatar/00.jpg'
    , experience: 83
    , sex: '男'
  };
  layui.config({
    version: "3.0.0"
    , base: '../../res/mods/'
  }).extend({
    fly: 'index'
  }).use('fly');
</script>

</body>

</html>